package com.ccys.db.mapper;

import com.ccys.db.dto.masterData.SpecialisationPageQueryDto;
import com.ccys.db.entity.TblSpecialisation;
import com.ccys.db.vo.masterData.SpecialisationListVo;
import com.ccys.db.vo.masterData.SpecialisationPageQueryVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/08
*/
public interface TblSpecialisationMapper extends Mapper<TblSpecialisation>, MySqlMapper<TblSpecialisation> {
    List<SpecialisationPageQueryVo> findPageFlagReason(SpecialisationPageQueryDto dto);

    List<SpecialisationListVo> findListSpecialisation(TblSpecialisation dto);

    //查询医生是否包含IdentificationGroup下的科室
    Boolean selectDoctorByIdentificationGroup(@Param("doctorId")String doctorId,@Param("IdentificationGroup")String IdentificationGroup);
}